package edu.sandau.b23015103.b23015103.mode;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Hobby {
    @Id
    private String id;
    private String name;
    private String hhobby;
    public Hobby(){

    }

    public Hobby(String id, String name, String hhobby) {
        this.id = id;
        this.name = name;
        this.hhobby = hhobby;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHhobby() {
        return hhobby;
    }

    public void setHhobby(String hhobby) {
        this.hhobby = hhobby;
    }
}
